<?php

return [
    'city'=>'上海',

    'location'=>'https://api.map.baidu.com/geocoding/v3/?address=%s&output=json&ak=mQMMfWpedP6OrC8pRQlPvoux23WY5aBD',

    'reverseLocation'=>'https://api.map.baidu.com/reverse_geocoding/v3/?ak=mQMMfWpedP6OrC8pRQlPvoux23WY5aBD&output=json&coordtype=wgs84ll&location=%s',

    'uploadUrl' => 'http://www.admin.com/uploads',

    'buildingKey'=>'building:province:',

    //阿里云图片路径
    'domainUrl'=>'https://bliuce.oss-cn-shanghai.aliyuncs.com/',

    //地图找房Key
    'map'=>"findHouse:",
    'redis_map'=>14,

    //签到
    'sign'=>'user:sign:',
    'redis_sign'=>10,

    //审核状态
    'examine_status' => [
        '-1' => '未通过',
        '0' => '审核中',
        '1' => '通过'
    ],

    //归属
    'ascription_options' => [
        0 => '普通用户',
        1 => '经纪人'
    ],

    //首页快捷入口 页面类型
    'page_type' => [
        0 => 'h5',
        1 => '小程序',
        2 => 'app'
    ],

    //状态
    'status_options' => [
        0 => '关闭',
        1 => '开启'
    ],

    //直播状态 1 正在直播 2 直播结束
    'live' => [
        'status' => [1, 2],
    ],

    //发布类型
    'release_type' => [
        0 => '二手房出售',
        1 => '有房出租',
        2 => '想要买房',
        3 => '想要租房'
    ],

    //支付方式
    'pay_type' => [
        1 => '微信支付',
        2 => '支付宝支付',
        3 => '余额支付',
        4 => '线下支付'
    ],

    //用户类型  0 普通用户 1 经纪人
    'ascription' => [0,1],

    'WeChat' => [
        'appId' => 'wxbf93676ffdb9a4d5',
        'secret' => 'f13f3dda5d0e8b9d7eca904745a19d86',
        'url' => 'https://api.weixin.qq.com/sns/jscode2session'
    ],

    //短信宝
    'Sms' => [
        'smsapi' => 'http://api.smsbao.com/',
        'user' => 'sunyingbo',
        'pass' => 'bo20010830'
    ],

    'tencent' => [
        'domain' => [
            'push' => 'cos.live.push.domain',
            'pull' => 'cos.live.pull.domain'
        ],
        'key' => 'cos.live.key',
        'secretId' => 'tencent.secretId',
        'secretKey' => 'tencent.secretKey',
        'region' => 'tencent.region',
    ],

    'app_name' => 'fengLive',

    'api' => [
        'page' => 1,
        'limit' => 10,
    ],
];
